package com.coderman.common.model.student;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * 学生信息管理实体类
 * @author 文晓平
 * @version 1.0
 * @Date 2023-1-9
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`c_student`")
public class Student {
    /**
     * 学员编号
     */
    @Id
    @Column(name = "`studentId`")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("学员编号")
    private Integer studentId;

    /**
     * 学籍号
     */
    @Column(name = "`studentNumber`")
    @ApiModelProperty("学籍号")
    private String studentNumber;

//    @Column(name = "`className`")
//    @ApiModelProperty("班级名称")
//    private Integer className;

    @Column(name = "`studentName`")
    @ApiModelProperty("")
    private String studentName;

    @Column(name = "`studentGender`")
    @ApiModelProperty("")
    private String studentGender;

    @Column(name = "`studentAge`")
    @ApiModelProperty("")
    private Integer studentAge;

    @Column(name = "`studentCard`")
    @ApiModelProperty("")
    private String studentCard;

    @Column(name = "`brithday`")
    @ApiModelProperty("")
    private String brithday;

    @Column(name = "`studentPhone`")
    @ApiModelProperty("")
    private String studentPhone;

    @Column(name = "`enrolTime`")
    @ApiModelProperty("")
    private String enrolTime;

    @Column(name = "`enrolEducation`")
    @ApiModelProperty("")
    private String enrolEducation;

    @Column(name = "`educationPromotion`")
    @ApiModelProperty("")
    private Integer educationPromotion;

    @Column(name = "`studnetAddress`")
    @ApiModelProperty("")
    private String studnetAddress;

    @Column(name = "`gradeId`")
    @ApiModelProperty("")
    private Integer gradeId;

    @Column(name = "`qqAccount`")
    @ApiModelProperty("")
    private String qqAccount;

    @Column(name = "`wechatAaccout`")
    @ApiModelProperty("")
    private String wechatAaccout;

    @Column(name = "`email`")
    @ApiModelProperty("")
    private String email;

    @Column(name = "`graduateSchool`")
    @ApiModelProperty("")
    private String graduateSchool;

    @Column(name = "`graduateTime`")
    @ApiModelProperty("")
    private String graduateTime;

    @Column(name = "`parentName`")
    @ApiModelProperty("")
    private String parentName;

    @Column(name = "`parentMoblie`")
    @ApiModelProperty("")
    private String parentMoblie;

    @Column(name = "`tuitionFeePayer`")
    @ApiModelProperty("")
    private String tuitionFeePayer;

    /**
     * 0：代表是
            1：代表否
     */
    @Column(name = "`isSupport`")
    @ApiModelProperty("0：代表是            1：代表否")
    private Integer isSupport;

    @Column(name = "`qingNiaoPassNo`")
    @ApiModelProperty("")
    private String qingNiaoPassNo;

    @Column(name = "`qingNiaoPassNoPwd`")
    @ApiModelProperty("")
    private String qingNiaoPassNoPwd;

    @Column(name = "`specialInstructions`")
    @ApiModelProperty("")
    private String specialInstructions;

    /**
     * 1:代表住校
            2:代表走读
            3:代表其他
     */
    @Column(name = "`isStay`")
    @ApiModelProperty("1:代表住校            2:代表走读            3:代表其他")
    private Integer isStay;

    @Column(name = "`planner`")
    @ApiModelProperty("")
    private String planner;

    /**
     * 1：代表在读
            2：代表退学
            3：代表休学
            4：代表开除
            5：代表自主就业
            6：代表正常毕业
     */
    @Column(name = "`studentStatus`")
    @ApiModelProperty("1：代表在读            2：代表退学            3：代表休学            4：代表开除            5：代表自主就业            6：代表正常毕业")
    private Integer studentStatus;

    @Column(name = "`classId`")
    @ApiModelProperty("班级编号")
    private Integer classId;
    @TableField(exist = false)
    private transient String className;
}
